tools/ocaml/evtchn: Add binding for xenevtchn_fdopen()
authorEdwin Török <edvin.torok@citrix.com>
Mon, 14 Nov 2022 13:36:19 +0000 (13:36 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 20 Dec 2022 13:13:40 +0000 (13:13 +0000)
commit24d9dc2ae2f88249fcf81f7b7e612cdfb7c73e4b
tree1128c9590830c003cd894e0abfefe15374ff5eb0
parentd11528a993f80c6a86f4cb0c30578c026348e3e4
tools/ocaml/evtchn: Add binding for xenevtchn_fdopen()

For live update, the new oxenstored needs to reconstruct an evtchn object
around an existing file descriptor.

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
(cherry picked from commit 7ba68a6c558e1fd811c95cb7215a5cd07a3cc2ea)
tools/ocaml/libs/eventchn/xeneventchn.ml
tools/ocaml/libs/eventchn/xeneventchn.mli
tools/ocaml/libs/eventchn/xeneventchn_stubs.c